package com.example.kemgdemo.model;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 学号：1401030048
 * Created by 梁嘉伟 on 2019/7/11
 */

@Getter
@Setter
@Entity(name = "user")
@Table(name = "user")
public class UserEntity extends BaseEntity {

    @Column(name = "username")
    private String username;

    @Column(name = "password")
    private String password;

    @Column(name = "gender")
    private Integer gender;

    @Column(name = "isActive")
    private Integer isActive;
}
